package com.tps.cloud.system.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tps.cloud.entity.TenantEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典类型传输类
 */
@Schema(description = "字典类型DTO")
@Data
public class SystemDictDto {

    /**
     * 字典id
     */
    @Schema(description = "字典id")
    private Long id;
    /**
     * 字典类型
     */
    @NotBlank(message = "{SystemDictDto.Type.NotEmpty}")
    @Schema(description = "字典类型")
    private String type;
    /**
     * 字典名称(中文)
     */
    @NotBlank(message = "{SystemDictDto.ChValue.NotEmpty}")
    @Schema(description = "字典名称(中文)")
    private String chValue;
    /**
     * 字典名称(英文)
     */
    @NotBlank(message = "{SystemDictDto.EnValue.NotEmpty}")
    @Schema(description = "字典名称(英文)")
    private String enValue;
    /**
     * 状态（0正常 1停用）
     */
    @Schema(description = "状态（0正常 1停用）")
    private Integer status;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

}

